import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export default class Vote {
    @PrimaryGeneratedColumn()
    id : number;

    @Column()
    user_id : number;

    @Column()
    content : string;

    @Column()
    total_score:number;

    @Column()
    vote_type : number;

    @Column()
    expire_in : number;

    @Column()
    create_time : number;
}